home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4094 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  883 b 

  1. Path: news.NetVision.net.il!news
  2. From: soulcage <soulcage@Netvision.net.il>
  3. Newsgroups: comp.lang.c
  4. Subject: windows c programming-localalloc.
  5. Date: Thu, 01 Feb 1996 23:40:03 +0200
  6. Organization: NetVision LTD.
  7. Message-ID: <31113333.7B7D@Netvision.net.il>
  8. NNTP-Posting-Host: ts4cp16.netvision.net.il
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6a (Win95; I)
  13.  
  14. i am programming c under windows 3.11
  15. i have used malloc to allocate bytes of memory.
  16. the program has terminated on protection fault.
  17. i have changed the usage instead of malloc,to localalloc and locallock
  18. from windows 3.11 SDK,
  19. i want to know the outcome of using localalloc,and globalalloc
  20. when shall i use any of them.,and is it matter that when i am compiling
  21. i get an informative message that the segment will be lost during 
  22. conversion.
  23.  
  24. tnx ahead.
  25.